\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28 setting key alternatives on a per application basis\
\
\fi-440\li440 Q: I know that I can use the Preferences application to specify a command key for a given command in a menu, but the key alternative applies to
\b all
\b0 applications. Is there a way to specify a command key that will apply to just one application? \
\fi0\li0\fc0 \
\fi-440\li440 A: Yes, you can do this, but you must resort to
\b dwrite(1)
\b0 to set the
\b NXCommandKeys
\b0 default for that application. The format is "menu item name, command key, menu item name, command key,..." with each element delineated by a comma. Example: "Page Layout..., P, Heavier, H, Lighter, L". \
\
\pard\tx440\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-440\li440 Let's say you often accidentally hit Command-q in Terminal, so you would like to change the key alternative for Quit to Command-Q, but only in the Terminal application. This simple